home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Computer Savvy - Understanding Hardware / ProOne: Computer Savvy: Understanding Hardware.iso / PROGFILE.SFS / CUSTOM.RUL < prev    next >
Text File  |  1997-10-22  |  11KB  |  270 lines

  1. /*----------------------------------------------------------------------------*\
  2.  *  Custom.RUL
  3.  *  Sofsource Installation Package:  Program-Specific Declarations.
  4.  *  Copyright (c) 1995-1996 Sofsource, Inc.  All rights  reserved.
  5.  *  Setup script written by:  Bob Falk
  6.  *------------------------------------------------------------------------------
  7.  *  Program-specific declarations for:  Computer Savvy: CD 1
  8.  *                    Last updated on:  10/22/1997
  9.  *  Revision Info:
  10.  *    $Revision:   1.0  $
  11.  *    $Date:   22 Oct 1997 16:22:00  $
  12. \*----------------------------------------------------------------------------*/
  13.  
  14. //=================================================================================================
  15. // The following are used in the Windows 95 Registry:
  16. //
  17. // Windows 3.x and NT NOTES:
  18. //   COMPANY_NAME, PRODUCT_NAME, and PRODUCT_VERSION are used in the [Application] section
  19. //   of SETUP.LOG files (when used).
  20. //
  21. // Windows 95 NOTES:
  22. //   COMPANY_NAME           = Used in Application Information Key
  23. //   PRODUCT_NAME           = Used in Application Information Key, also used in the screen caption,
  24. //                            several message boxes, error messages, and the log file.
  25. //   PRODUCT_VERSION        = Used in Application Information Key
  26. //   APP_PATHS_KEY_EXENAMES = Used in the Per Application Paths key.  Use ONLY ONE EXE name, UNLESS
  27. //                            the EXEs are all in the same subdirectory.  If not in the same subdir
  28. //                            then only the first EXE will have an App Paths key, and it must be the
  29. //                            same as EXE_FILENAME_1 (below).
  30. //                            The Registry can handle more, but InstallShield cannot.
  31. //   DEINSTALL_KEY          = Used in the Application Uninstallation Key
  32. //   The "Add/Remove Programs" applet, in the Windows 95 Control Panel folder, will list
  33. //   (as [DisplayName]) the program as a combination of PRODUCT_NAME + ' v' + PRODUCT_VERSION.
  34. //
  35. #define COMPANY_NAME           "Sofsource, Inc."
  36. #define PRODUCT_NAME           "Understanding Hardware"
  37. #define PRODUCT_VERSION        "1.00"
  38. #define APP_PATHS_KEY_EXENAMES "PYRAMID.EXE"
  39. #define DEINSTALL_KEY          "Sof92193Ver100DeinstKey"
  40.   // Used as:  InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, APP_PATHS_KEY_EXENAMES );
  41.   //           RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME + ' v' + PRODUCT_VERSION );
  42.   //           DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
  43.  
  44. // The EXTRAICONS_APP_NAME is used for icons related to the main program, such as for READ.ME files.
  45. // The icon title might be something like "WC Encyclopedia Read Me" rather than the ridiculously
  46. // long "Webster's Concise Encyclopedia Read Me".  If the PRODUCT_NAME is less than about 18 characters
  47. // in length, then EXTRAICONS_APP_NAME should be the same as PRODUCT_NAME.  In Windows 95, any title
  48. // longer than 17 characters will appear with ellipses (...).
  49. //                      !!! |-----------------| 17 chars max length !!!
  50. //#define EXTRAICONS_APP_NAME "???"
  51. #define EXTRAICONS_APP_NAME PRODUCT_NAME
  52.  
  53. //----- Base (Default) Destination Paths:
  54. #define APPBASE_PATH3X      "SOFSRC\\Hardware\\"
  55. #define APPBASE_PATH95      "Sofsource\\Hardware\\"
  56.  
  57.  
  58. //----- Define the items that MUST match LAUNCHER.PAS:
  59. //        Windows 95.  This will typically be "C:\Sofsource" and will always be on the same
  60. //        drive as Windows 95 itself, regardless of the installation target (destination).
  61. // This also must match the cSectionName in LAUNCHER.PAS.
  62. // This should be 70-characters max.  If longer, you'll need to edit the Perm Setup Log details.
  63. #define PROGRAM_FOLDER_NAME     "Sofsource"
  64. #define APP_UPC_CODE        "92193-5"
  65.   // APP_UPC_CODE 30-chars max.  If longer, you'll need to edit the Perm Setup Log details.
  66. #define PRODUCT_ID_FILENAME "ID921935.ID_"
  67.  
  68.  
  69. //=================================================================================================
  70. #define NUM_EXES_PRESENT 1
  71.   // Set the above to the number of executable files
  72.   // belonging to the product, FOR WHICH ICONS WILL BE MADE
  73.   // *** Use "-1" when WINHELP.EXE should execute a HLP file INSTEAD OF AN EXE ***
  74.   // *** Use "-1" when there is no executable, only a help file ***
  75.  
  76. #define NEEDS_HELPFILE_ICON 0
  77.   // Define the above if WINHELP.EXE should execute a HLP file
  78.   // IN ADDITION TO the normal EXE file handling (above).
  79.   // Use this when there is both an executable(s) AND a HLP file.
  80.  
  81.  
  82. //=================================================================================================
  83. // Documentation/READ-ME file definitions:
  84.  
  85. // Define the following if a README file is present
  86. #define DOCUMENTATION_PRESENT 0
  87. #ifdef DOCUMENTATION_PRESENT
  88.     #define DOC_FILE_NAME "README.TXT"
  89.     #define DOC_ICON_NAME '"Program Read Me"'
  90. #endif
  91.   // NOTE:  For Icon Names, single-quotes enclose the double-quotes.  This doesn't matter
  92.   //        under Windows 95, but is important under Windows 3.x and NT.  In the latter cases,
  93.   //        without the extra single quotes, you could not use special characters (such as
  94.   //        commas or parentheses) in the name.  Of course, now you'll need to use an
  95.   //        Escape Sequence to place a single quote in the name (i.e. "\'" instead of "'").
  96.  
  97. //=================================================================================================
  98. // Executable and Icon File Definitions:
  99.  
  100. #ifdef NUM_EXES_PRESENT >= 1
  101. // In Windows 95 only the first 17 chars appear, remaining chars are replaced with ellipses (...)
  102. //                        !!! |-----------------| 17 chars max length
  103.     #define PROGICON_NAME_1 '"Understanding Hardware"'
  104.     #define EXE_FILENAME_1  "PYRAMID.EXE"
  105.     #define ICON_FILENAME_1 "SAVVY.ICO"  
  106. #endif
  107. #ifdef NUM_EXES_PRESENT >= 2
  108.     #define PROGICON_NAME_2 '""'
  109.     #define EXE_FILENAME_2  ""
  110.     #define ICON_FILENAME_2 ""
  111. #endif
  112. #ifdef NUM_EXES_PRESENT >= 3
  113.     #define PROGICON_NAME_3 '""'
  114.     #define EXE_FILENAME_3  ""
  115.     #define ICON_FILENAME_3 ""
  116. #endif
  117. #ifdef NUM_EXES_PRESENT >= 4
  118.     #define PROGICON_NAME_4 '""'
  119.     #define EXE_FILENAME_4  ""
  120.     #define ICON_FILENAME_4 ""
  121. #endif
  122. #ifdef NUM_EXES_PRESENT = -1
  123.     #define HELP_NAME_1 '"???"'
  124.     #define HLP_FILE_1  "???.HLP"
  125. #endif
  126. #ifdef NEEDS_HELPFILE_ICON
  127.     #define HELP_NAME_1 '"Understanding Hardware Help"'
  128.     #define HLP_FILE_1  "PYRAMID.HLP"
  129. #endif
  130.  
  131.  
  132. //=================================================================================================
  133. // Special Case Involving Running From CD-ROM
  134.  
  135. #define CDROM_ALWAYS_REQUIRED 1
  136.   // Define the above if the CD-ROM must always be inserted to use the program
  137.  
  138.  
  139. #define EXE_RUN_FROM_CDROM 1
  140.   // Define the above if the EXE is started from the CD-ROM
  141.  
  142. #ifdef EXE_RUN_FROM_CDROM
  143.     #ifdef NUM_EXES_PRESENT >= 1
  144.         #define SRC_PATH_1_ON_CDROM "\\hardware\\"  // Always terminate with a backslash
  145.     #endif
  146.     #ifdef NUM_EXES_PRESENT >= 2
  147.         #define SRC_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  148.     #endif
  149.     #ifdef NUM_EXES_PRESENT >= 3
  150.         #define SRC_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  151.     #endif
  152.     #ifdef NUM_EXES_PRESENT >= 4
  153.         #define SRC_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  154.     #endif
  155. #endif
  156.  
  157.  
  158. #define WORKING_DIR_ON_CDROM 1
  159.   // Define the above if the working directory should be on the CD-ROM
  160.   // otherwise the working directory will be the installation target directory
  161.  
  162. #ifdef WORKING_DIR_ON_CDROM
  163.     #ifdef NUM_EXES_PRESENT >= 1
  164.         #define WORK_PATH_1_ON_CDROM "\\hardware\\"  // Always terminate with a backslash
  165.     #endif
  166.     #ifdef NUM_EXES_PRESENT >= 2
  167.         #define WORK_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  168.     #endif
  169.     #ifdef NUM_EXES_PRESENT >= 3
  170.         #define WORK_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  171.     #endif
  172.     #ifdef NUM_EXES_PRESENT >= 4
  173.         #define WORK_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  174.     #endif
  175. #endif
  176.  
  177.  
  178. //=================================================================================================
  179. //----- SPECIAL-CASE Definitions:
  180.  
  181. //#define REQUIRES_INI_FILE_ENTRIES 1
  182.   // Define the above if special INI file entries need to be made
  183.  
  184. //#define REQUIRES_FONT_ENTRY_IN_WININI 1
  185.   // Define the above if this is an old program which will not find it's fonts
  186.   // unless they are duplicated in WIN.INI under Windows 95 and Windows NT.
  187.   // Such fonts will still be properly installed in the registry.
  188.  
  189. // The special-case is on the CD-ROM version only, not the diskette version:
  190. #ifdef EXE_RUN_FROM_CDROM
  191.     //#define SPECIAL_CASE_TERM_PAPER 1
  192.       // Define the above if this is Term Paper (CD-ROM Full or Brain-Damaged Version)
  193.       // Also define REQUIRES_INI_FILE_ENTRIES
  194.  
  195.     //#define SPECIAL_CASE_BOOK_REPORT 1
  196.       // Define the above if this is Book Report (CD-ROM Full or Brain-Damaged Version)
  197.       // Also define REQUIRES_INI_FILE_ENTRIES
  198. #endif
  199.  
  200. //#define SPECIAL_CASE_RESUME 1
  201.   // Define the above if this is Windows Resume
  202.   // Also define REQUIRES_INI_FILE_ENTRIES
  203.  
  204. //#define SPECIAL_CASE_MM_TRIVIA 1
  205.   // Define the above if this is Multimedia Trivia
  206.  
  207. //#define SPECIAL_CASE_WINDOWS_MADE_EASY 1
  208.   // Define the above if this is Windows Made Easy
  209.  
  210. //#define SPECIAL_CASE_TYPING_TEACHER 1
  211.   // Define the above if this is Multimedia Typing Teacher
  212.  
  213. //#define SPECIAL_CASE_EASY_TUTORIAL_WIN95 1
  214.   // Define the above if this is Easy Tutorial for Windows 95
  215.  
  216. //#define SPECIAL_CASE_OFFICE_SUITE 1
  217.   // Define the above if this is Office Suite
  218.  
  219. //#define SPECIAL_CASE_3DIT
  220.   // Define the above if this is 3D-It
  221.   // Also define REQUIRES_INI_FILE_ENTRIES
  222.  
  223. //#define SPECIAL_CASE_WEBSTERS_HME95 1
  224.   // Define the above if this is Webster's Concise Encyclopedia 1995 edition
  225.   // Also define REQUIRES_INI_FILE_ENTRIES
  226.  
  227.  
  228. //=================================================================================================
  229. // Requirements definitions:
  230.  
  231.   //----- VIDEO FOR WINDOWS:
  232.   //
  233. #define REQUIRES_VFW 1
  234.   // Define the above if Video For Windows is required
  235.  
  236.  
  237.   //----- Speaker Driver
  238.   //
  239. //#define REQUIRES_SPEAKER_DRIVER 1
  240.   // Define the above if the speaker driver should be installed
  241.  
  242.  
  243.   //----- Processor requirements (overridden by VFW):
  244. #ifdef REQUIRES_VFW
  245.     #define REQUIRES_80386 1
  246. #else
  247.       //--- CPU REQUIREMENTS:
  248.       //
  249.     //#define REQUIRES_80286   1
  250.     #define REQUIRES_80386   1
  251.     //#define REQUIRES_80486   1
  252.     //#define REQUIRES_PENTIUM 1
  253. #endif
  254.  
  255.  
  256. //#define REQUIRES_WINDOWS95      1
  257.   // Define the above if Windows 95 is required.
  258.   // If Windows 95 is required, then define the following if
  259.   // the program will also run under Windows NT and/or Win32s.
  260.   // APP_IS_32BIT should be defined for 32-bit programs (this
  261.   // is intended for future use).
  262.  
  263. #ifdef REQUIRES_WINDOWS95
  264.     #define OK_WINDOWSNT 1
  265.     //#define OK_WIN32S    1
  266.     //#define APP_IS_32BIT 1
  267. #endif
  268.  
  269. // eof CUSTOM.RUL
  270.